import request from "@/utils/axios"

export function getSkyEnginePage(page, size, name, type, serviceNode) {
    return request({
        url: "/api/sky-engine/getSkyEnginePage",
        method: "get",
        data: {
            page: page,
            size: size,
            name: name,
            type: type,
            serviceNode: serviceNode
        }
    })
}


export function getSkyEngineDetails(id) {
    return request({
        url: "/api/sky-engine/getSkyEngineAndParameter?id=" + id,
        method: "get",
    })
}

export function getDownloadFile(data) {
    return request({
        url: "/api/sky-engine/downloadFile",
        method: "post",
        data
    })
}
